import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import App from './App';
import { store } from './store'

ReactDOM.render(
  // 通过provider组件，将store放在全局的组件可以够得到的地方
  <Provider store={store}><App /></Provider>,
  document.getElementById('root')
);
